#define _CRT_SECURE_NO_WARNINGS 1

#include "Stack.h"

void Test1()
{
	Stack s;
	StackInit(&s);
	StackPush(&s, 1);
	StackPush(&s, 2);
	StackPush(&s, 3);
	StackPush(&s, 4);
	StackPush(&s, 5);
	StackPop(&s);
	printf("%d\n", StackTop(&s));
	StackDestroy(&s);
}

int main()
{
	Test1();

	return 0;
}